#ifndef RANGELISTXML_H
#define RANGELISTXML_H

#include <QObject>
#include <QStringList>
#include "BaseXml.h"
#include "DataType/RangePointStruct.h"

class RangeListXml : public BaseXml<RangeListXml>
{
public:
    friend class BaseXml<RangeListXml>;
    bool parser();

    QList<ControlPointStruct> controlPointList(const ControlPointStruct &controlPoint);
    QList<ControlPointStruct> controlPointList(const QList<ControlPointStruct> &sourcePointList);

    QList<RangePointStruct> rangePointList() const;

private:
    RangeListXml();
    bool clear();
    QList<RangePointStruct> m_rangePointList;
};

#endif // RANGELISTXML_H
